var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var stdin_exports = {};
__export(stdin_exports, {
  scrollViewEmits: () => scrollViewEmits,
  scrollViewProps: () => scrollViewProps
});
module.exports = __toCommonJS(stdin_exports);
const scrollViewProps = {
  customStyle: [String, Object],
  width: [Number, String],
  height: [Number, String],
  maxHeight: [Number, String],
  scrollY: {
    type: [Boolean, String],
    default: false
  },
  scrollX: {
    type: [Boolean, String],
    default: false
  },
  scrollable: {
    type: Boolean,
    default: true
  },
  /**
   * 距顶部/左边多远时（单位px），触发 scrolltoupper 事件
   */
  upperThreshold: {
    type: [Number, String],
    default: 50
  },
  /**
   * 距底部/右边多远时（单位px），触发 scrolltolower 事件
   */
  lowerThreshold: {
    type: [Number, String],
    default: 50
  },
  /**
   * 设置竖向滚动条位置
   */
  scrollTop: [Number, String],
  /**
   * 设置横向滚动条位置
   */
  scrollLeft: [Number, String],
  scrollWithAnimation: {
    type: Boolean,
    default: false
  },
  /**
   * iOS点击顶部状态栏、安卓双击标题栏时，滚动条返回顶部，只支持竖向
   * @description 仅 app-nvue，微信小程序
   */
  enableBackToTop: {
    type: [Number, String],
    default: 50
  },
  /**
   * 启用 flexbox 布局。开启后，当前节点声明了 display: flex 就会成为 flex container，并作用于其孩子节点
   */
  enableFlex: {
    type: Boolean,
    default: false
  }
};
const scrollViewEmits = ["scrolltoupper", "scrolltolower", "scroll"];
